package com.platform.service.impl;

import com.platform.dao.UserExchangeDao;
import com.platform.entity.UserExchangeEntity;
import com.platform.service.UserExchangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("userExchangeService")
public class UserExchangeServiceImpl implements UserExchangeService {
    @Autowired
    private UserExchangeDao userExchangeDao;

    @Override
    public List<UserExchangeEntity> queryList(Map<String, Object> map) {
        return userExchangeDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return userExchangeDao.queryTotal(map);
    }
}
